home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 69 73 | 6f 6e 65 77 73 2e 62 62 |Path: is|onews.bb|
|00000010| 6e 2e 68 70 2e 63 6f 6d | 21 6e 65 77 73 0a 46 72 |n.hp.com|!news.Fr|
|00000020| 6f 6d 3a 20 4d 61 6e 66 | 72 65 64 5f 4c 61 6e 67 |om: Manf|red_Lang|
|00000030| 65 20 3c 4d 61 6e 66 72 | 65 64 5f 4c 61 6e 67 65 |e <Manfr|ed_Lange|
|00000040| 40 62 62 6e 2e 68 70 2e | 63 6f 6d 3e 0a 4e 65 77 |@bbn.hp.|com>.New|
|00000050| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 6c 61 |sgroups:| comp.la|
|00000060| 6e 67 2e 63 2b 2b 0a 53 | 75 62 6a 65 63 74 3a 20 |ng.c++.S|ubject: |
|00000070| 52 65 3a 20 54 65 6d 70 | 6c 61 74 65 20 43 6c 61 |Re: Temp|late Cla|
|00000080| 73 73 20 4c 69 6e 6b 61 | 67 65 3f 0a 44 61 74 65 |ss Linka|ge?.Date|
|00000090| 3a 20 39 20 4a 61 6e 20 | 31 39 39 36 20 30 38 3a |: 9 Jan |1996 08:|
|000000a0| 33 38 3a 32 38 20 47 4d | 54 0a 4f 72 67 61 6e 69 |38:28 GM|T.Organi|
|000000b0| 7a 61 74 69 6f 6e 3a 20 | 48 65 77 6c 65 74 74 2d |zation: |Hewlett-|
|000000c0| 50 61 63 6b 61 72 64 2c | 20 45 75 72 6f 70 65 61 |Packard,| Europea|
|000000d0| 6e 20 53 75 70 70 6f 72 | 74 20 54 65 63 68 6e 6f |n Suppor|t Techno|
|000000e0| 6c 6f 67 79 20 4c 61 62 | 20 28 45 53 54 4c 29 0a |logy Lab| (ESTL).|
|000000f0| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 34 63 74 |Message-|ID: <4ct|
|00000100| 39 69 34 24 69 37 34 40 | 69 73 6f 69 74 31 30 39 |9i4$i74@|isoit109|
|00000110| 2e 62 62 6e 2e 68 70 2e | 63 6f 6d 3e 0a 52 65 66 |.bbn.hp.|com>.Ref|
|00000120| 65 72 65 6e 63 65 73 3a | 20 3c 34 63 6d 6e 6a 73 |erences:| <4cmnjs|
|00000130| 24 6d 6b 37 40 6d 69 6d | 73 79 2e 63 73 2e 75 6d |$mk7@mim|sy.cs.um|
|00000140| 64 2e 65 64 75 3e 0a 4e | 4e 54 50 2d 50 6f 73 74 |d.edu>.N|NTP-Post|
|00000150| 69 6e 67 2d 48 6f 73 74 | 3a 20 68 70 65 73 74 6c |ing-Host|: hpestl|
|00000160| 30 38 2e 62 62 6e 2e 68 | 70 2e 63 6f 6d 0a 4d 69 |08.bbn.h|p.com.Mi|
|00000170| 6d 65 2d 56 65 72 73 69 | 6f 6e 3a 20 31 2e 30 0a |me-Versi|on: 1.0.|
|00000180| 43 6f 6e 74 65 6e 74 2d | 54 79 70 65 3a 20 74 65 |Content-|Type: te|
|00000190| 78 74 2f 70 6c 61 69 6e | 3b 20 63 68 61 72 73 65 |xt/plain|; charse|
|000001a0| 74 3d 75 73 2d 61 73 63 | 69 69 0a 43 6f 6e 74 65 |t=us-asc|ii.Conte|
|000001b0| 6e 74 2d 54 72 61 6e 73 | 66 65 72 2d 45 6e 63 6f |nt-Trans|fer-Enco|
|000001c0| 64 69 6e 67 3a 20 37 62 | 69 74 0a 58 2d 4d 61 69 |ding: 7b|it.X-Mai|
|000001d0| 6c 65 72 3a 20 4d 6f 7a | 69 6c 6c 61 20 31 2e 32 |ler: Moz|illa 1.2|
|000001e0| 32 20 28 57 69 6e 64 6f | 77 73 3b 20 49 3b 20 33 |2 (Windo|ws; I; 3|
|000001f0| 32 62 69 74 29 0a 54 6f | 3a 20 67 69 6c 6d 61 6e |2bit).To|: gilman|
|00000200| 40 63 66 61 72 2e 75 6d | 64 2e 65 64 75 0a 0a 67 |@cfar.um|d.edu..g|
|00000210| 69 6c 6d 61 6e 40 63 66 | 61 72 2e 75 6d 64 2e 65 |ilman@cf|ar.umd.e|
|00000220| 64 75 20 28 47 69 6c 20 | 43 61 72 6d 65 6c 29 20 |du (Gil |Carmel) |
|00000230| 77 72 6f 74 65 3a 0a 3e | 48 69 2c 0a 3e 0a 3e 49 |wrote:.>|Hi,.>.>I|
|00000240| 27 6d 20 6a 75 73 74 20 | 6c 65 61 72 6e 69 6e 67 |'m just |learning|
|00000250| 20 74 65 6d 70 6c 61 74 | 65 73 2c 20 61 6e 64 20 | templat|es, and |
|00000260| 49 27 6d 20 68 61 76 69 | 6e 67 20 70 72 6f 62 6c |I'm havi|ng probl|
|00000270| 65 6d 73 20 77 69 74 68 | 20 6c 69 6e 6b 61 67 65 |ems with| linkage|
|00000280| 2e 0a 3e 57 68 65 6e 20 | 74 68 65 20 74 65 6d 70 |..>When |the temp|
|00000290| 6c 61 74 65 20 63 6c 61 | 73 73 20 6d 65 6d 62 65 |late cla|ss membe|
|000002a0| 72 20 66 75 6e 63 74 69 | 6f 6e 20 62 6f 64 69 65 |r functi|on bodie|
|000002b0| 73 20 61 72 65 20 69 6e | 63 6c 75 64 65 64 20 69 |s are in|cluded i|
|000002c0| 6e 20 74 68 65 20 22 2e | 68 22 20 66 69 6c 65 2c |n the ".|h" file,|
|000002d0| 0a 3e 65 76 65 72 79 74 | 68 69 6e 67 20 69 73 20 |.>everyt|hing is |
|000002e0| 66 69 6e 65 2e 20 20 42 | 75 74 20 77 68 65 6e 20 |fine. B|ut when |
|000002f0| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 62 6f 64 |the func|tion bod|
|00000300| 69 65 73 20 61 72 65 20 | 69 6e 20 61 20 73 65 70 |ies are |in a sep|
|00000310| 61 72 61 74 65 20 22 2e | 63 22 20 66 69 6c 65 2c |arate ".|c" file,|
|00000320| 0a 3e 63 61 6c 6c 73 20 | 74 6f 20 74 68 65 73 65 |.>calls |to these|
|00000330| 20 66 75 6e 63 74 69 6f | 6e 73 20 66 72 6f 6d 20 | functio|ns from |
|00000340| 6f 74 68 65 72 20 66 69 | 6c 65 73 20 67 69 76 65 |other fi|les give|
|00000350| 20 61 6e 20 22 75 6e 64 | 65 66 69 6e 65 64 20 72 | an "und|efined r|
|00000360| 65 66 65 72 65 6e 63 65 | 20 74 6f 0a 3e 66 75 6e |eference| to.>fun|
|00000370| 63 74 69 6f 6e 22 20 65 | 72 72 6f 72 20 66 72 6f |ction" e|rror fro|
|00000380| 6d 20 74 68 65 20 6c 69 | 6e 6b 65 72 2e 20 20 44 |m the li|nker. D|
|00000390| 6f 20 74 65 6d 70 6c 61 | 74 65 20 63 6c 61 73 73 |o templa|te class|
|000003a0| 20 6d 65 6d 62 65 72 20 | 66 75 6e 63 74 69 6f 6e | member |function|
|000003b0| 73 20 68 61 76 65 20 0a | 3e 74 6f 20 62 65 20 69 |s have .|>to be i|
|000003c0| 6e 20 74 68 65 20 22 2e | 68 22 20 66 69 6c 65 2c |n the ".|h" file,|
|000003d0| 20 6f 72 20 69 73 20 74 | 68 69 73 20 61 20 70 72 | or is t|his a pr|
|000003e0| 6f 62 6c 65 6d 20 77 69 | 74 68 20 6d 79 20 63 6f |oblem wi|th my co|
|000003f0| 6d 70 69 6c 65 72 3f 0a | 3e 0a 3e 54 68 61 6e 6b |mpiler?.|>.>Thank|
|00000400| 73 20 66 6f 72 20 61 6e | 79 20 68 65 6c 70 2c 0a |s for an|y help,.|
|00000410| 3e 47 69 6c 0a 3e 0a 3e | 5b 73 6e 69 70 70 65 64 |>Gil.>.>|[snipped|
|00000420| 5d 0a 0a 4d 79 20 75 6e | 64 65 72 73 74 61 6e 64 |]..My un|derstand|
|00000430| 69 6e 67 20 69 73 20 74 | 68 61 74 20 74 68 65 20 |ing is t|hat the |
|00000440| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 20 6f |implemen|tation o|
|00000450| 66 20 74 65 6d 70 6c 61 | 74 65 20 63 6c 61 73 73 |f templa|te class|
|00000460| 65 20 6d 65 6d 62 65 72 | 20 66 75 6e 63 74 69 6f |e member| functio|
|00000470| 6e 73 20 0a 6e 65 65 64 | 20 74 6f 20 62 65 20 69 |ns .need| to be i|
|00000480| 6e 20 61 20 66 69 6c 65 | 20 77 68 69 63 68 20 69 |n a file| which i|
|00000490| 73 20 4e 4f 54 20 74 68 | 65 20 63 70 70 2d 66 69 |s NOT th|e cpp-fi|
|000004a0| 6c 65 2e 20 54 77 6f 20 | 61 70 70 72 6f 61 63 68 |le. Two |approach|
|000004b0| 65 73 20 61 72 65 20 74 | 61 6b 65 6e 20 0a 6e 6f |es are t|aken .no|
|000004c0| 72 6d 61 6c 6c 79 3a 0a | 0a 31 2e 20 50 75 74 20 |rmally:.|.1. Put |
|000004d0| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 62 6f 64 |the func|tion bod|
|000004e0| 69 65 73 20 69 6e 20 74 | 68 65 20 68 65 61 64 65 |ies in t|he heade|
|000004f0| 72 20 66 69 6c 65 2e 0a | 0a 32 2e 20 43 72 65 61 |r file..|.2. Crea|
|00000500| 74 65 20 61 20 74 68 69 | 72 64 20 66 69 6c 65 20 |te a thi|rd file |
|00000510| 61 6e 64 20 69 6e 63 6c | 75 64 65 20 74 68 61 74 |and incl|ude that|
|00000520| 20 6f 6e 65 20 69 6e 74 | 6f 20 74 68 65 20 73 6f | one int|o the so|
|00000530| 75 72 63 65 20 66 69 6c | 65 73 2c 20 77 68 65 72 |urce fil|es, wher|
|00000540| 65 20 74 68 65 20 0a 74 | 65 6d 70 6c 61 74 65 20 |e the .t|emplate |
|00000550| 69 73 20 62 65 69 6e 67 | 20 75 73 65 64 2e 0a 0a |is being| used...|
|00000560| 49 20 70 65 72 73 6f 6e | 61 6c 6c 79 20 70 72 65 |I person|ally pre|
|00000570| 66 65 72 20 74 68 65 20 | 66 69 72 73 74 20 61 70 |fer the |first ap|
|00000580| 70 72 6f 61 63 68 2c 20 | 61 6c 74 68 6f 75 67 68 |proach, |although|
|00000590| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 68 61 73 20 | the sec|ond has |
|000005a0| 74 68 65 20 61 64 76 61 | 6e 74 61 67 65 20 0a 6f |the adva|ntage .o|
|000005b0| 66 20 73 65 70 61 72 61 | 74 69 6e 67 20 74 68 65 |f separa|ting the|
|000005c0| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 20 66 72 6f | declara|tion fro|
|000005d0| 6d 20 74 68 65 20 69 6d | 70 6c 65 6d 65 6e 74 61 |m the im|plementa|
|000005e0| 74 69 6f 6e 2e 0a 0a 2d | 2d 20 0a 52 65 67 61 72 |tion...-|- .Regar|
|000005f0| 64 73 2c 20 4d 61 6e 66 | 72 65 64 2e 0a 0a 2d 2d |ds, Manf|red...--|
|00000600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000610| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000620| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 4d 61 6e 66 72 65 64 |--------|.Manfred|
|00000630| 20 4c 61 6e 67 65 0a 48 | 65 77 6c 65 74 74 2d 50 | Lange.H|ewlett-P|
|00000640| 61 63 6b 61 72 64 20 28 | 44 65 75 74 73 63 68 6c |ackard (|Deutschl|
|00000650| 61 6e 64 29 20 47 6d 62 | 48 0a 45 53 54 4c 20 28 |and) Gmb|H.ESTL (|
|00000660| 45 75 72 6f 70 65 61 6e | 20 53 75 70 70 6f 72 74 |European| Support|
|00000670| 20 54 65 63 68 6e 6f 6c | 6f 67 79 20 4c 61 62 29 | Technol|ogy Lab)|
|00000680| 0a 42 6f 65 62 6c 69 6e | 67 65 6e 2c 20 47 65 72 |.Boeblin|gen, Ger|
|00000690| 6d 61 6e 79 0a 65 6d 61 | 69 6c 3a 20 4d 61 6e 66 |many.ema|il: Manf|
|000006a0| 72 65 64 5f 4c 61 6e 67 | 65 40 62 62 6e 2e 68 70 |red_Lang|e@bbn.hp|
|000006b0| 2e 63 6f 6d 0a 0a 4d 79 | 20 6f 70 69 6e 69 6f 6e |.com..My| opinion|
|000006c0| 20 64 6f 65 73 20 6e 6f | 74 20 6e 65 65 64 20 74 | does no|t need t|
|000006d0| 6f 20 62 65 20 74 68 61 | 74 20 6f 66 20 48 50 21 |o be tha|t of HP!|
|000006e0| 0a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|000006f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 0a 0a |--------|---... |
+--------+-------------------------+-------------------------+--------+--------+